<%@ page language="java" contentType="text/html;charset=UTF-8" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<div>
	<form method="post">
		<input type="file" name="exlfile">
		<button>上传</button>
	</form>
	<button id="download">下载</button>
</div>
</body>
<script src="js/jquery-2.1.4.min.js"></script>
<script>
$('#download').click(function(){
	window.location.href="download.htm";
});
</script>
</html>